package com.coolpad.job.device;

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication(scanBasePackages={"com.coolpad.job.device.*"})
//@EnableTransactionManagement
@MapperScan("com.coolpad.job.device.dao")
public class JobMain {

    public static void main(String[] args) {
        log.info("init: start with args:\n{}", StringUtils.join(args, " "));
        SpringApplication.run(JobMain.class, args);
    }
}